package u13.ejercicio18;

import java.awt.Graphics;

public class Cuadrado implements IFigura {
	
	private int posX;
	private int posY;
	
	public Cuadrado(int posX, int posY){
		this.posX=posX;
		this.posY=posY;
	}
	
	@Override
	public void pintar(Graphics g) {
		g.drawRect(posX, posY, 50, 50);
	}

}
